<%--
  Created by IntelliJ IDEA.
  User: wenze-zero
  Date: 2021-06-10-010
  Time: 上午 08:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.ArrayList" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    购物车中的内容为:
    <hr>
<%
    ArrayList books=(ArrayList) session.getAttribute("books");
    for (int i=0;i< books.size();i++)
    {
        String book=(String) books.get(i);
        out.println(book+"<br>");
    }
%>
</body>
</html>
